package com.platform_server.service;

import com.platform_server.entity.db.Admin;
import com.platform_server.entity.response.ResponseBase;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author：Kevin.W.Liu
 * @Date: 2022/3/12
 * @Version 1.0
 */
//@Service
public interface IAdminService {
    //登录之后返回token
    ResponseBase login(String username, String password, HttpServletRequest request);
    //根据用户名获取用户信息
    Admin getAdminByUserName(String username);
}
